package com.lj.listener;

import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

/**
 * Created by dave_suwei on 2017/12/9.
 */
public class MyHttpSessionListener implements HttpSessionListener {
    public void sessionCreated(HttpSessionEvent se) {
        System.out.println("------------------ Session创建! ------------------");

    }

    public void sessionDestroyed(HttpSessionEvent se) {
        System.out.println("------------------ Session关闭! ------------------");
    }
}
